WP_Statistics\Utils\Query D

Total Complexity 171
Dependencies 5
Dependents 12
Total lines 859
Lines of code 518
Logical lines of code 346
Comment lines 108
Methods 43
Properties 18

Methods 43

Method Rating Maintainability Complexity Lines of code
generateCondition()
B
41 24 48
set()
A
47 13 34
selectQuery()
A
48 11 35
whereDate()
A
53 10 22
orderBy()
A
49 9 30
join()
A
51 8 23
maybeDecorate()
S
59 6 15
updateQuery()
S
58 5 15
whereJson()
S
59 5 13
where()
S
60 5 12
whereNotNull()
S
61 5 12
whereNull()
S
61 5 12
getVar()
S
59 4 15
getAll()
S
59 4 15
getCol()
S
59 4 15
getRow()
S
59 4 15
unionQuery()
S
59 4 14
deleteQuery()
S
61 4 12
getTable()
S
61 3 13
joinQuery()
S
63 3 9
perPage()
S
64 3 9
groupBy()
S
65 3 9
select()
S
65 2 9
whereRaw()
S
67 2 8
whereRelation()
S
70 2 6
having()
S
70 2 6
buildQuery()
S
64 2 9
prepareQuery()
S
71 2 6
insertQuery()
S
65 2 8
canUseCacheForDateRange()
S
71 2 6
__construct()
S
77 1 4
update()
S
70 1 6
delete()
S
70 1 6
insert()
S
70 1 6
union()
S
71 1 6
from()
S
76 1 4
fromQuery()
S
75 1 4
decorate()
S
77 1 4
execute()
S
70 1 6
getQuery()
S
73 1 5
bypassCache()
S
82 1 3
allowCaching()
S
75 1 4
removeTablePrefix()
S
72 1 5